<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	</body>
</html>
<script>
	
	function foo(){
		
		console.log(arguments);
		let sum = 0;
		for(let i = 0; i++; i < arguments.length){
			// sum = sum + arguments[i];
			// console.log(arguments[i]);
		}
		// console.log(sum);
	}
	
	foo(2,4,6);
	// foo(1,3);
	// foo(9);
	// foo(1,2,3,4,5,6);
	
</script>